package ru.ya.kolemik.servcmd;

import java.io.IOException;
import java.lang.reflect.Method;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import ru.ya.kolemik.servcmd.View.type;

public interface Serv {
    
    String doServe(HttpServletRequest request, HttpServletResponse response,
            String command) throws ServletException, IOException;

    Method getViewMethod(type viewType);
}
